package com.atwu.wl2022.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author wulejay
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "link")
public class Link {

	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 *网站网址
	 */
	@TableField("url")
	private String url;

	/**
	 *图标网址
	 */
	@TableField("icon")
	private String icon;

	/**
	 * 	网站名字
	 */
	@TableField("web_name")
	private String webName;
	/**
	 * 	网站描述
	 */
	@TableField("web_description")
	private String webDescription;
	/**
	 * 创建时间
	 */
	@TableField( "time")
	private Date time;
}
